
//只能是队长
if ((count units player) >=2 && (leader group player) != player) exitWith {
	["信息","小队队长未准备!"] call M4_fnc_newNotification;
};


ExPoint = false;

//随机分配的传送复活点
_randomSpawnPoit = selectRandom [spawn_1,spawn_2,spawn_3,spawn_4,spawn_5,spawn_6,spawn_7,spawn_8,spawn_9,spawn_10];

//随机分配的撤离点
_EvacuatePoit = selectRandom [ex_1,ex_2,ex_3,ex_4,ex_5,ex_6];
Pont = _EvacuatePoit;

//设置玩家撤离点标识
player setVariable["EvacuatePoit",_EvacuatePoit,true];

//获取撤离点对象
ExPoint = getPos _EvacuatePoit;

//获取传送点位置
_pos = getPos _randomSpawnPoit;

TPoint = _pos;
 
//传送玩家至重生点
[]spawn M4_fnc_entryTimer;

